Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.148/2.148, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 179.1 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.473/2.473, allocations: 205.4 MB / 0.5764 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 97.75 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000757/0.0007573, allocations: 11.78 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2779, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/0.519, allocations: 137.6 MB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.5194, allocations: 79.95 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06346/0.5829, allocations: 13.95 MB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/0.5829, allocations: 0 / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.265e-05/0.583, allocations: 24.16 kB / 1.047 GB, free: 9.531 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.003305/0.5863, allocations: 1.085 MB / 1.048 GB, free: 8.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.5864, allocations: 8.031 kB / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000339/0.5868, allocations: 110.5 kB / 1.048 GB, free: 8.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.5871, allocations: 90.97 kB / 1.048 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.5886, allocations: 496.4 kB / 1.049 GB, free: 7.641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.168e-05/0.5887, allocations: 53.31 kB / 1.049 GB, free: 7.586 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.5889, allocations: 64 kB / 1.049 GB, free: 7.523 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.5911, allocations: 0.6195 MB / 1.049 GB, free: 6.902 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.5912, allocations: 3.953 kB / 1.049 GB, free: 6.898 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.5913, allocations: 31.92 kB / 1.049 GB, free: 6.867 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.5914, allocations: 16 kB / 1.049 GB, free: 6.852 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.5938, allocations: 0.6064 MB / 1.05 GB, free: 6.242 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/0.6004, allocations: 1.945 MB / 1.052 GB, free: 4.242 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.6026, allocations: 0.5375 MB / 1.052 GB, free: 3.691 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.95e-05/0.6027, allocations: 20.39 kB / 1.052 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.604, allocations: 394.9 kB / 1.053 GB, free: 3.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=55): time 3.938e-06/0.604, allocations: 4 kB / 1.053 GB, free: 3.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=55): time 0.00307/0.6071, allocations: 0.7714 MB / 1.054 GB, free: 2.469 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.6073, allocations: 239.9 kB / 1.054 GB, free: 2.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.6086, allocations: 0.5386 MB / 1.054 GB, free: 1.637 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.6088, allocations: 53.62 kB / 1.054 GB, free: 1.578 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.6092, allocations: 321 kB / 1.055 GB, free: 1.258 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.6095, allocations: 169.5 kB / 1.055 GB, free: 1.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.6096, allocations: 8 kB / 1.055 GB, free: 1.082 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.6099, allocations: 378.8 kB / 1.055 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009785/0.6108, allocations: 229 kB / 1.055 GB, free: 492 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.6122, allocations: 393.4 kB / 1.056 GB, free: 44 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6072/1.219, allocations: 246.1 kB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/1.219, allocations: 1.094 kB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003951/1.223, allocations: 0.6451 MB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/1.224, allocations: 449.8 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/1.224, allocations: 3.266 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.485e-05/1.224, allocations: 2.938 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/1.226, allocations: 123.9 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/1.226, allocations: 2.281 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/1.228, allocations: 139.6 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/1.228, allocations: 22.64 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.228, allocations: 3.094 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002749/1.231, allocations: 0.4951 MB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.231, allocations: 3.328 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.231, allocations: 2.906 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.232, allocations: 102.7 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/1.232, allocations: 4.516 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.234, allocations: 120.2 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/1.234, allocations: 21.02 kB / 1.058 GB, free: 146.1 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0009478/1.235, allocations: 276.5 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/1.236, allocations: 74.95 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/1.239, allocations: 0.6617 MB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.239, allocations: 6.969 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.239, allocations: 0 / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.239, allocations: 3.734 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00695/1.246, allocations: 1.795 MB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/1.246, allocations: 5.906 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/1.248, allocations: 111.5 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.772e-05/1.248, allocations: 7.219 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/1.248, allocations: 19.67 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.062e-05/1.248, allocations: 14.03 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.219e-05/1.249, allocations: 12.58 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/1.251, allocations: 1.076 MB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/1.252, allocations: 213.8 kB / 1.062 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.252, allocations: 24.98 kB / 1.062 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008999/1.253, allocations: 78.47 kB / 1.062 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.253, allocations: 62.19 kB / 1.062 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/1.253, allocations: 29.59 kB / 1.063 GB, free: 144.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009876/1.254, allocations: 438.6 kB / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.72e-07/1.254, allocations: 0 / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001522/1.256, allocations: 251 kB / 1.063 GB, free: 144.4 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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.003493/1.259, allocations: 3.074 MB / 1.066 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003536/1.263, allocations: 0.8108 MB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/1.263, allocations: 0.8125 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.264, allocations: 325.9 kB / 1.067 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/1.266, allocations: 105.6 kB / 1.067 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/1.271, allocations: 2.638 MB / 1.07 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/1.272, allocations: 0.9293 MB / 1.071 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008327/1.273, allocations: 104.1 kB / 1.071 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/1.274, allocations: 263.7 kB / 1.071 GB, free: 139.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.274, allocations: 0.6562 kB / 1.071 GB, free: 139.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06056/1.334, allocations: 13.18 MB / 1.084 GB, free: 138.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/1.334, allocations: 238.8 kB / 1.084 GB, free: 138.2 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1