Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.084/2.084, allocations: 289.7 MB / 302.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001747/0.001747, allocations: 178.2 kB / 371.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 93.81 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.083e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3162, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8943/1.211, allocations: 144.6 MB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.211, allocations: 75.48 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03379/1.245, allocations: 14.05 MB / 1.135 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.245, allocations: 0 / 1.135 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.406e-05/1.245, allocations: 20 kB / 1.135 GB, free: 33.22 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001976/1.247, allocations: 1.016 MB / 1.136 GB, free: 32.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.247, allocations: 12.53 kB / 1.136 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/1.247, allocations: 109.3 kB / 1.136 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/1.247, allocations: 95.61 kB / 1.136 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009117/1.248, allocations: 0.4968 MB / 1.137 GB, free: 31.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/1.248, allocations: 50.86 kB / 1.137 GB, free: 31.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/1.248, allocations: 69.77 kB / 1.137 GB, free: 31.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/1.249, allocations: 0.5596 MB / 1.137 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.249, allocations: 4 kB / 1.137 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/1.249, allocations: 23 kB / 1.137 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/1.249, allocations: 20.56 kB / 1.137 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/1.25, allocations: 0.4894 MB / 1.138 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/1.253, allocations: 1.979 MB / 1.14 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/1.254, allocations: 497.7 kB / 1.14 GB, free: 29.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/1.255, allocations: 190 kB / 1.14 GB, free: 29.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/1.255, allocations: 13.84 kB / 1.14 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/1.255, allocations: 348.1 kB / 1.141 GB, free: 29.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=56): time 2.465e-06/1.255, allocations: 0.5625 kB / 1.141 GB, free: 29.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56): time 0.0007654/1.256, allocations: 0.4888 MB / 1.141 GB, free: 28.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/1.256, allocations: 245.2 kB / 1.141 GB, free: 28.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/1.257, allocations: 0.5354 MB / 1.142 GB, free: 28.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/1.257, allocations: 45.41 kB / 1.142 GB, free: 28.22 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.257, allocations: 313.4 kB / 1.142 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.257, allocations: 178 kB / 1.142 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/1.257, allocations: 10.86 kB / 1.142 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.257, allocations: 377.5 kB / 1.143 GB, free: 27.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/1.257, allocations: 161.8 kB / 1.143 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/1.258, allocations: 332.1 kB / 1.143 GB, free: 27.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/1.258, allocations: 195.8 kB / 1.143 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.258, allocations: 0 / 1.143 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007317/1.259, allocations: 0.5181 MB / 1.144 GB, free: 26.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.259, allocations: 454.5 kB / 1.144 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.259, allocations: 4 kB / 1.144 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.259, allocations: 5.312 kB / 1.144 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/1.26, allocations: 120.1 kB / 1.144 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.26, allocations: 5.703 kB / 1.145 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/1.26, allocations: 152.5 kB / 1.145 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/1.26, allocations: 20.41 kB / 1.145 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/1.26, allocations: 5.406 kB / 1.145 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006208/1.261, allocations: 431.8 kB / 1.145 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/1.261, allocations: 0 / 1.145 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/1.261, allocations: 4 kB / 1.145 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/1.261, allocations: 106 kB / 1.145 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.261, allocations: 8.562 kB / 1.145 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/1.262, allocations: 125.5 kB / 1.145 GB, free: 25.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/1.262, allocations: 16.03 kB / 1.145 GB, free: 25.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.262, allocations: 143.8 kB / 1.145 GB, free: 25.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/1.262, allocations: 76.23 kB / 1.146 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009192/1.263, allocations: 0.5688 MB / 1.146 GB, free: 25.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.263, allocations: 8.75 kB / 1.146 GB, free: 25.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.263, allocations: 4 kB / 1.146 GB, free: 25.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/1.263, allocations: 3 kB / 1.146 GB, free: 25.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/1.265, allocations: 1.702 MB / 1.148 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.265, allocations: 9.125 kB / 1.148 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/1.266, allocations: 116.5 kB / 1.148 GB, free: 23.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/1.266, allocations: 8.562 kB / 1.148 GB, free: 23.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/1.266, allocations: 20.16 kB / 1.148 GB, free: 23.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/1.266, allocations: 13.02 kB / 1.148 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.266, allocations: 8.609 kB / 1.148 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/1.267, allocations: 0.9837 MB / 1.149 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/1.267, allocations: 222.5 kB / 1.149 GB, free: 22.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/1.267, allocations: 19.78 kB / 1.149 GB, free: 22.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/1.268, allocations: 76.53 kB / 1.149 GB, free: 22.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.268, allocations: 63.69 kB / 1.149 GB, free: 22.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/1.268, allocations: 25.03 kB / 1.149 GB, free: 22.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004377/1.268, allocations: 426.6 kB / 1.15 GB, free: 22.26 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.268, allocations: 0 / 1.15 GB, free: 22.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007318/1.269, allocations: 252.2 kB / 1.15 GB, free: 22.04 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/1.271, allocations: 3.003 MB / 1.153 GB, free: 19.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001094/1.272, allocations: 0.6944 MB / 1.154 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.272, allocations: 4.062 kB / 1.154 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/1.272, allocations: 272.6 kB / 1.154 GB, free: 18.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/1.273, allocations: 119.3 kB / 1.154 GB, free: 18.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/1.275, allocations: 1.088 MB / 1.155 GB, free: 17.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/1.275, allocations: 0.9312 MB / 1.156 GB, free: 16.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005686/1.276, allocations: 140.9 kB / 1.156 GB, free: 16.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/1.276, allocations: 253.5 kB / 1.156 GB, free: 16.49 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/1.276, allocations: 0 / 1.156 GB, free: 16.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/1.309, allocations: 14.48 MB / 1.17 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/1.309, allocations: 197.8 kB / 1.171 GB, free: 7.129 MB / 0.7448 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotFree.c:10:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1