Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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 1.906/1.906, allocations: 292.6 MB / 307.5 MB, free: 5.25 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.00154/0.00154, allocations: 189 kB / 377.1 MB, free: 1.535 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.787/1.787, allocations: 205.4 MB / 0.6366 GB, free: 8.641 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.0009162/0.0009162, allocations: 84.7 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.000382, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7357/1.025, allocations: 143 MB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.025, allocations: 83.91 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02239/1.048, allocations: 8.489 MB / 1.136 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/1.048, allocations: 0 / 1.136 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.048, allocations: 7.938 kB / 1.136 GB, free: 26.6 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007442/1.049, allocations: 0.5559 MB / 1.137 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.049, allocations: 8.969 kB / 1.137 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/1.049, allocations: 41.75 kB / 1.137 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/1.049, allocations: 16.5 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/1.049, allocations: 261.4 kB / 1.137 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.049, allocations: 12 kB / 1.137 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/1.049, allocations: 12.56 kB / 1.137 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/1.049, allocations: 88.47 kB / 1.137 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.049, allocations: 4 kB / 1.137 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/1.05, allocations: 4.562 kB / 1.137 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/1.05, allocations: 6.406 kB / 1.137 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/1.05, allocations: 49.33 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/1.05, allocations: 464.1 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/1.051, allocations: 158.1 kB / 1.138 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/1.051, allocations: 3.984 kB / 1.138 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/1.051, allocations: 117.9 kB / 1.138 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/1.051, allocations: 0 / 1.138 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003183/1.051, allocations: 163 kB / 1.138 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/1.051, allocations: 56.11 kB / 1.138 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/1.052, allocations: 185 kB / 1.139 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/1.052, allocations: 33.7 kB / 1.139 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/1.052, allocations: 121.2 kB / 1.139 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/1.052, allocations: 31.45 kB / 1.139 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/1.052, allocations: 12 kB / 1.139 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/1.052, allocations: 329 kB / 1.139 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/1.052, allocations: 28.5 kB / 1.139 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/1.052, allocations: 123.2 kB / 1.139 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.934e-05/1.052, allocations: 45.41 kB / 1.139 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.052, allocations: 0 / 1.139 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002019/1.052, allocations: 154.2 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.052, allocations: 7.938 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.052, allocations: 4.703 kB / 1.139 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.052, allocations: 3.953 kB / 1.139 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/1.052, allocations: 18.92 kB / 1.139 GB, free: 23.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.053, allocations: 6.188 kB / 1.139 GB, free: 23.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/1.053, allocations: 32.62 kB / 1.139 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/1.053, allocations: 4 kB / 1.139 GB, free: 23.53 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.000105/1.053, allocations: 137.4 kB / 1.14 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/1.053, allocations: 16.38 kB / 1.14 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/1.053, allocations: 25.11 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.053, allocations: 8.516 kB / 1.14 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.053, allocations: 0 / 1.14 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/1.053, allocations: 1.312 kB / 1.14 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/1.054, allocations: 0.4907 MB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.054, allocations: 4.797 kB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/1.054, allocations: 13.39 kB / 1.14 GB, free: 22.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/1.054, allocations: 0 / 1.14 GB, free: 22.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.054, allocations: 4.938 kB / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.054, allocations: 0 / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.054, allocations: 0 / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/1.054, allocations: 233 kB / 1.14 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/1.054, allocations: 100.1 kB / 1.14 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/1.054, allocations: 0.6562 kB / 1.14 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.054, allocations: 21.72 kB / 1.14 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/1.054, allocations: 21.47 kB / 1.14 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/1.054, allocations: 8.891 kB / 1.14 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.53e-05/1.054, allocations: 139.9 kB / 1.141 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/1.054, allocations: 4 kB / 1.141 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003048/1.055, allocations: 45.64 kB / 1.141 GB, free: 22.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000625/1.055, allocations: 0.843 MB / 1.141 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002063/1.055, allocations: 105.4 kB / 1.142 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.055, allocations: 0 / 1.142 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/1.056, allocations: 49.31 kB / 1.142 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/1.056, allocations: 50.72 kB / 1.142 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/1.057, allocations: 1.176 MB / 1.143 GB, free: 20.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/1.057, allocations: 0.7304 MB / 1.144 GB, free: 19.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001254/1.057, allocations: 21.72 kB / 1.144 GB, free: 19.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/1.057, allocations: 57.94 kB / 1.144 GB, free: 19.3 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/1.057, allocations: 0 / 1.144 GB, free: 19.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/1.076, allocations: 4.956 MB / 1.148 GB, free: 16.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/1.077, allocations: 251.5 kB / 1.149 GB, free: 16.15 MB / 0.7292 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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 -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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_Validation_PlotterActivationGlobalInputFirstOff_functions.o] Error 1